<?php

include_once('filterPar.php');
include_once('filterParResponse.php');
include_once('par_online.php');


/**
 * 
 */
class Centala extends \SoapClient
{

  /**
   * 
   * @var array $classmap The defined classes
   * @access private
   */
  private static $classmap = array(
    'filterPar' => '\filterPar',
    'filterParResponse' => '\filterParResponse',
    'par_online' => '\par_online');

  /**
   * 
   * @param array $options A array of config values
   * @param string $wsdl The wsdl file to use
   * @access public
   */
  public function __construct(array $options = array(), $wsdl = 'http://mg-fileserver.millennium.ba/Centala.svc?singleWsdl')
  {
    foreach (self::$classmap as $key => $value) {
    if (!isset($options['classmap'][$key])) {
      $options['classmap'][$key] = $value;
    }
  }
  
  parent::__construct($wsdl, $options);
  }

  /**
   * 
   * @param filterPar $parameters
   * @access public
   * @return filterParResponse
   */
  public function filterPar(filterPar $parameters)
  {
    return $this->__soapCall('filterPar', array($parameters));
  }

}
